openfile

Section: User Commands (1)
Updated: August 22, 1989
Index Return to Main Contents
 

NAME

openfile - open files in Edit  

SYNOPSIS

openfile filename ...  

DESCRIPTION

The openfile command opens files in Edit, with each file opened in its own Edit window. The openfile command can only be used if Edit is already running.

You can specify one or more file names (or pathnames), which are interpreted relative to the Terminal or Shell window's current working directory. For example, the following command would open all the files in the current working directory that end with a ".c" extension, plus all the files in a subdirectory called headers that end with a ".h" extension:

        openfile *.c headers/*.h

If no file name is specified, openfile reads stdin and opens a /tmp file in Edit. This allows you to use commands such as the following:
        diff file1 file2 | openfile
        grep foo *.[mch] | openfile


 

Index

NAME
SYNOPSIS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 17:19:10 GMT, March 25, 2025